package io.transaction.tcc.common.api;

import io.transaction.tcc.common.dto.UserAccountDto;
import io.transaction.tcc.common.entity.UserAccount;
import org.apache.ibatis.annotations.Param;
import org.dromara.hmily.annotation.Hmily;

import java.math.BigDecimal;

public interface UserAccountBank02Service {

    /**
     * 转账
     */
    @Hmily
    void transferAmountToBank2(UserAccountDto userAccountDto);


    /**
     * 获取指定账户的余额
     */
    UserAccount getUserAccountByAccountNo(String accountNo);


}
